#-------------------------------------------------
#
# Project created by QtCreator 2021-08-16T16:34:28
#
#-------------------------------------------------

QT       += core gui network serialport xml

CONFIG += c++11

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport

TARGET = QMavPlotter
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0


SOURCES += \
        main.cpp \
        mainwindow.cpp \
    MavlinkHandler/mavlinkhandler.cpp \
    MavlinkHandler/connection/connection.cpp \
    MavlinkHandler/connection/mavlink_channels.cpp \
    MavlinkHandler/connection/connection_udp.cpp \
    MavlinkHandler/connection/connection_tcp.cpp \
    MavlinkHandler/connection/connection_serial.cpp \
    MavlinkHandler/connection/mavlink_receiver.cpp \
    MavlinkHandler/connection/mavlink_message_handler.cpp \
    CommConfig/commconfig.cpp \
    IconHelper/iconhelper.cpp \
    qcustomplot.cpp \
    Tree/treemodel.cpp \
    Tree/treeitem.cpp \
    Expression/expression.cpp

HEADERS += \
        mainwindow.h \
    MavlinkHandler/mavlink/checksum.h \
    MavlinkHandler/mavlink/mavlink_conversions.h \
    MavlinkHandler/mavlink/mavlink_get_info.h \
    MavlinkHandler/mavlink/mavlink_helpers.h \
    MavlinkHandler/mavlink/mavlink_sha256.h \
    MavlinkHandler/mavlink/mavlink_types.h \
    MavlinkHandler/mavlink/message.hpp \
    MavlinkHandler/mavlink/msgmap.hpp \
    MavlinkHandler/mavlink/protocol.h \
    MavlinkHandler/mavlink/fppa/fppa.h \
    MavlinkHandler/mavlink/fppa/fppa.hpp \
    MavlinkHandler/mavlink/fppa/gtestsuite.hpp \
    MavlinkHandler/mavlink/fppa/mavlink.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_adrc_tuning.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_adrc_tuning.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_att_body_data.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_att_body_data.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_att_body_debug.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_att_body_debug.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_attitude_beam.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_attitude_beam.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_attitude_beam_target.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_attitude_beam_target.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_attitude_body.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_attitude_body.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_attitude_body_data.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_attitude_body_data.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_attitude_body_debug.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_attitude_body_debug.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_auto_trace.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_auto_trace.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_beacon_power.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_beacon_power.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_beacon_request.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_beacon_request.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_beacon_response.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_beacon_response.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_buc_request.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_buc_request.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_buc_response.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_buc_response.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_buc_status.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_buc_status.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_gnss_data.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_gnss_data.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_heartbeat.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_heartbeat.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_humiture.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_humiture.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_kalman_data_x.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_kalman_data_x.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_kalman_data_z.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_kalman_data_z.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_kf_other.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_kf_other.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_kf_p0q.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_kf_p0q.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_kf_xk_p1.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_kf_xk_p1.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_kf_xk_p2.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_kf_xk_p2.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_kf_zk.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_kf_zk.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_manual_control.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_manual_control.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_mavlink_comm_ctrl.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_mavlink_comm_ctrl.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_motor_ctrl.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_motor_ctrl.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_motor_status.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_motor_status.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_pid_tuning.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_pid_tuning.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_pricise_imu.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_pricise_imu.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_raw_imu.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_raw_imu.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_reserve_debug.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_reserve_debug.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_rtk_gps.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_rtk_gps.hpp \
    MavlinkHandler/mavlink/fppa/mavlink_msg_tracker_status.h \
    MavlinkHandler/mavlink/fppa/mavlink_msg_tracker_status.hpp \
    MavlinkHandler/mavlink/fppa/testsuite.h \
    MavlinkHandler/mavlink/fppa/version.h  \
    MavlinkHandler/mavlinkhandler.h \
    MavlinkHandler/global_include.h \
    MavlinkHandler/connection/connection.h \
    MavlinkHandler/connection/connection_result.h \
    MavlinkHandler/connection/mavlink_channels.h \
    MavlinkHandler/connection/connection_udp.h \
    MavlinkHandler/connection/connection_tcp.h \
    MavlinkHandler/connection/connection_serial.h \
    MavlinkHandler/connection/mavlink_receiver.h \
    MavlinkHandler/connection/mavlink_message_handler.h \
    CommConfig/commconfig.h \
    IconHelper/iconhelper.h \
    qcustomplot.h \
    Tree/treemodel.h \
    Tree/treeitem.h \
    Expression/expression.h

FORMS += \
        mainwindow.ui \
    CommConfig/commconfig.ui

RESOURCES += \
    IconHelper/res.qrc
